package cn.echo.common.timer;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2017/5/4.
 */
@Component
public class TimeWork {
//    @Scheduled(cron="0/5 * *  * * ? ")   //每5秒执行一次
//    public void work(){
//        System.out.println("hello world");
//    }
}
